package org.example.service.impl;

import org.example.service.DemoService;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author songyafei
 */
@Component
public class DemoServiceImpl {

  @Resource
  private DemoService demoService;


  public void  test(){
      String say = demoService.say();
      System.out.println(say);
  }
}
